<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>主子表关系</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />

    <script src="../../../../scripts/boot.js" type="text/javascript"></script>
    <!--<link href="../../../../scripts/miniui/themes/blue/skin.css" rel="stylesheet" type="text/css" />-->
    <style type="text/css">
        html,body
        {
            padding:0;
            margin:0;
            border:0;
            width:100%;
            height:100%;
            overflow:hidden;
        }
    </style>
</head>
<body>
    <!--编辑按钮栏-->
    <div class="mini-toolbar"  borderStyle="border-width:0;border-bottom-width:1px;">
        <a class="mini-button" onclick="save()">保存</a>
        <!--<a class="mini-button" iconCls="icon-add" onclick="onOk()">确定</a>-->
        <a class="mini-button" onclick="onCancel()">放弃</a>
    </div>
    <!--充满的布局盒子-->
    <div class="mini-fit">
        <!--数据表-->
        <table cellpadding="0" cellspacing="0" style="width:100%;table-layout:fixed;height:100%;">
            <tr>
                <td style="width:50%">
                <div class="mini-fit">
                    <!--所有表数据-->
                    <div id="allGrid" class="mini-datagrid" style="width:100%;height:100%;"
                         showPageSize="false" showPageIndex="false"
                         pagerStyle="padding:2px;" onrowdblclick="addSelected()"
                         multiSelect="false">
                        <div property="columns">
                            <div type="checkcolumn" ></div>
                            <div field="tableClassId" width="120" headerAlign="center" align="center" allowSort="true" visible="false">ID</div>
                            <div field="tableClassName" width="120" headerAlign="center" align="center" allowSort="true">英文表名</div>
                            <div field="tableChClassName" width="120" headerAlign="center" align="center" allowSort="true">中文表名</div>
                        </div>
                    </div>
                </div>
                </td>
                <td style="width:80px;text-align:center;vertical-align:top;padding-top:10px;">
                    <a class="mini-button" style="width:60px;" onclick="addSelected()">选择</a>
                    <a class="mini-button" style="width:60px;margin-top:10px;" onclick="removeSelecteds()">删除</a>
                </td>
                <td style="width:50%">
                <div class="mini-fit">
                    <div id="wordTable" class="mini-datagrid" style="width:100%;height:100%;"
                         showPageSize="false" showPageIndex="false"
                         pagerStyle="padding:2px;" onrowdblclick="removeSelecteds()"
                         multiSelect="false" showPager="false"
                            >
                        <div property="columns">
                            <div type="checkcolumn" ></div>
                            <div field="tableClassId" width="120" headerAlign="center" align="center" allowSort="true" visible="false">ID</div>
                            <div field="tableClassName" width="120" headerAlign="center" align="center" allowSort="true">中文表名</div>
                            <div field="tableChClassName" width="120" headerAlign="center" align="center" allowSort="true">英文表名</div>
                        </div>
                    </div>
                </div>
                </td>
            </tr>
        </table>
    </div>


    <script type="text/javascript" src="alertjs/masterTable.js"></script>
</body>
</html>